package com.itheima.reggie.dto;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
//Dto 数据传输对象 (用于封装表现层和前端的数据传输)
@Data
public class DishDto extends Dish {
        //菜品口味信息
    private List<DishFlavor> flavors = new ArrayList<>();

    private String      categoryName;

    private Integer copies;
}
